package com.itheima.tlias84.po;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.time.LocalDate;

/*
   员工查询和分页写在一起 根据需求来
 */
@Data
public class SelectClazzPageParam {
  //  @NotNull(message = "姓名不能为空")
  //  @Length(min = 2, max = 20, message = "姓名不能为空")
    private String name;
   // @NotNull(message ="开课时间不能为空")
    private LocalDate begin;
   // @NotNull(message ="请选择结课时间")
    private LocalDate end;
    /**
     * 页码
     */
    private Integer page ;
    /**
     * 每页展示数量
     */
    private Integer pageSize;

}
